package gui.designComponents;

import com.jgoodies.forms.builder.DefaultFormBuilder;
import com.jgoodies.forms.layout.FormLayout;

/**
 * Defines Look of a DefaultFormBuilder
 * 
 * @author MK
 * 
 */
public class TMTDefaultFormBuilder {

	public static DefaultFormBuilder getDFB(FormLayout layout) {
		DefaultFormBuilder builder = new DefaultFormBuilder(layout);
		defineDesign(builder);
		return builder;
	}

	private static void defineDesign(DefaultFormBuilder builder) {
		// TODO Design Declarations
		builder.setDefaultDialogBorder();
		builder.setBackground(DesignConstants.PANEL_BACKGROUND_COLOR);
	}
}
